using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class MapData
{
    public int actNumber;
    public string startNodeId;
    public string bossNodeId;
    public Dictionary<string, MapNode> nodes;

    public MapNode GetNode(string nodeId)
    {
        if (nodes.ContainsKey(nodeId))
            return nodes[nodeId];
        return null;
    }
}